package com.admin.service;

import com.admin.dao.AdminDao;
import com.admin.dao.AdminDaoImpl;
import com.admin.entity.Admin;
import com.admin.entity.Page;
import com.uni.entity.User;

import java.util.List;

/**
 * @author Uni
 * @create 2021/12/2 19:43
 */
public class AdminServiceImpl implements AdminService {
    AdminDao adminDao = new AdminDaoImpl();

    @Override
    public Admin selectById(int id) {
        return adminDao.selectById(id);
    }

    @Override
    public boolean updateUser(User user) {
        return adminDao.updateUser(user);
    }

}
